Part Number Hot Search : 
STK10C68 MBTSC FM24C16 AA401 M38039 2513R 2513R M29W004
Product Description
Full Text Search
 

To Download KS8701 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  KS8701 flex tm roaming decoder ii march , 2000 data sheet
KS8701 f eatures flex tm roaming decoder ii 1 KS8701 flex tm roaming decoder ii data sheet features l flex tm paging protocol decoder l 16 programmable user address words l 16 fixed temporary addresses l 16 operator messaging addresses l 1600,3200,and 6400bps(bits per second) decoding l any-phase or single-phase decoding l uses standard serial peripheral interface (spi) in slave mode l allow low current stop mode operation of host processor l highly programmable receiver control l real time clock time base l flex fragmentation and group messaging support l real time clock over-the-air update support l compatible with synthesized receivers l ssid and nid roaming support l low battery indication(external detector) l 28 used pins (32-pin package standard) l backward compatible to the standard and roaming flex decoder ics l internal demodulator and data slicer l improved battery savings via partial correlation and intermittent receiver clock l full support for revision 1.9 of the flex protocol l 32-pin l qfp package description this flex tm roaming decoder ii date sheet describes the operation of the KS8701 . the KS8701 simplifies implementation of a flex tm paging device by interfacing with any of several off-the- shelf paging receivers and any of several off-the-shelf host microcontroller/microprocessors. its primary function is to process information received and demodulated from a flex radio paging channel, select messages addressed to the paging device and communicate the message information to the host. the KS8701 also operates the paging receiver in an efficient power consumption mode and enables the host to operate in a low power mode when monitoring a signal channel for message information.
ordering information KS8701 2 flex tm roaming decoder ii ordering information device name supply voltage operating frequency operating temperature package type KS8701 1.8v ~ 3.6v 76.8khz or 160khz -25? ~ 85? 32-lqfp-0707 copyright samsung electronics co. ltd., 1998 all rights reserved samsung electronics reserves the right to make changes without notice. motorola, flex and flexstack are trademarks of motorola inc.
KS8701 t able of contents flex tm roaming decoder ii 3 table o f contents introduction ................................ ................................ ................................ ........................... 5 system block diagram ................................ ................................ ................................ ............ 5 functional block diagram ................................ ................................ ................................ ....... 7 pin description ................................ ................................ ................................ ........................ 8 me ch a nical specification ................................ ................................ ................................ .......... 10 spi packets ................................ ................................ ................................ ........................... 11 packet communication initiated by the host ................................ ................................ ........... 11 packet communication initiated by the flex decoder ic ................................ ....................... 1 2 host-to-decoder packet map ................................ ................................ ................................ .. 1 3 decoder-to-host packet map ................................ ................................ ................................ .. 1 5 host-to-decoder packet descriptions ................................ ................................ ................. 1 6 checksum packet ................................ ................................ ................................ ................... 1 6 configuration packet ................................ ................................ ................................ ............... 1 8 control packet ................................ ................................ ................................ ........................ 21 all frame mode packet ................................ ................................ ................................ ........... 2 3 operator messaging address enable packet ................................ ................................ .......... 2 4 roaming control packet ................................ ................................ ................................ ......... 2 5 timing control packet ................................ ................................ ................................ ............. 2 8 receiver line control packet ................................ ................................ ................................ .. 2 9 receiver control configuration packet s ................................ ................................ .................. 30 frame assignment packet s ................................ ................................ ................................ .... 3 5 user address enable packet ................................ ................................ ................................ .. 3 6 user address assignment packet s ................................ ................................ ......................... 3 7 decoder-to-host packet descriptions ................................ ................................ ................. 3 8 block information word packet ................................ ................................ ............................... 3 9 address packet ................................ ................................ ................................ ....................... 41 vector packet ................................ ................................ ................................ ......................... 4 2 message packet ................................ ................................ ................................ ..................... 4 7 roaming status packet ................................ ................................ ................................ .......... 4 8 receiver shutdown packet ................................ ................................ ................................ ..... 50 status packet ................................ ................................ ................................ .......................... 51 part id packet ................................ ................................ ................................ ......................... 5 3
table of contents KS8701 4 flex tm roaming decoder ii table of contents (continued) appendix a : application notes ................................ ................................ .......................... 5 5 receiver control ................................ ................................ ................................ ..................... 5 5 message building ................................ ................................ ................................ ................... 5 9 building a fragmented message ................................ ................................ ............................ 61 operation of a temporary address ................................ ................................ ......................... 6 4 using the receiver shutdown packet ................................ ................................ ..................... 6 6 appendix b : specifications ................................ ................................ ................................ 6 8 absolute maximum ratings ................................ ................................ ................................ .... 6 8 dc characteristics ................................ ................................ ................................ .................. 68 ac characteristics ................................ ................................ ................................ .................. 69
KS8701 i ntroduction flex tm roaming decoder ii 5 introduction system block diagram figure 1 : example block diagram using internal demodulator when configured to use the internal demodulator, the KS8701 connects to a receiver capable of generating a limited (i.e. 1-bit digitized) 455 khz or 140 khz if signal. in this mode, the KS8701 has 7 receiver control lines used for warming up and shutting down a receiver in stages. the KS8701 has the ability to detect a low battery signal during the receiver control sequences. it interfaces to a host mcu through a standard spi. it has a 1minute timer that offers low power support for a time of day function on the host. when using the internal demodulator, the oscillator frequency (or external clock) must be 160 khz. the clkout signal can be programmed to be either a 38.4 khz signal created by fractionally dividing the oscillator clock, or a 40 khz signal creating by dividing the oscillator clock by 4. receiver control host microprocessor user interface low battery detector receiver 38.4 or 40 khz clock s0/ifin synthesizer KS8701 lobat programming control 160 khz 10m w 15pf 15pf
introduction KS8701 6 flex tm roaming decoder ii figure 2 : example block diagram using external demodulator the KS8701 can also be configured to connect to a receiver capable of converting a 4 level audio signal into a 2 bit digital signal. in this mode, the KS8701 has a 8 receiver control lines used for warming up and shutting down a receiver in stages. it also includes configuration setting for the two post detection filter bandwidths required to decode the two symbol rates of the flex signal. also when using an external demodulator, the oscillator frequency (or external clock) must be 76.8 khz and the clkout signal (when enabled) is 38 .4khz clock output capable of driving other devices. user interface host microprocessor low battery detector receiver audio to digital converter audio 38.4 k hz clock receiver control exts0 exts1 synthesizer lobat programming control KS8701 76.8 khz 10m w 10pf 10pf
KS8701 i ntroduction flex tm roaming decoder ii 7 functional block diagram figure 3 : block diagram test2 test3 reset lobat ready s0 / ifin receiver control demodulator & data slicer symbol sync noise detector sync correlator 76.8khz or 160khz oscillator de- interleaver address comparator/ correlator error corrector local message filter external control unit internal control unit clock generator spi buffer control / status registers spi s0 ? s7 exts0 exts1 symclk oscpd xtal extal clkout ifin 2 vdd 2 vss 4 spi 7 s1-s7 s0
introduction KS8701 8 flex tm roaming decoder ii pin description pin name pin type description power v dd 3,13 power v ss 7,29 ground lobat 10 i low battery detect input reset reset 24 i active low reset to the KS8701. external symbol input signals exts1 11 i ms b of the symbol currently being decoded exts0 12 i ls b of the symbol currently being decoded spi signals ss 27 i slave s elect for spi communications sck 28 i serial c lock for spi communications mosi 30 i data input for spi communications miso 31 o three-state data output for spi communications ready 26 o driven low when the ic is ready for an spi packet clock signals clkout 32 o 38.4 khz or 40 khz clock output(derived from oscillator) symclk 14 o recovered symbol clock extal 6 i 76.8 khz or 160 khz crystal input or external input xtal 5 o 76.8 khz or 160 khz clock output oscpd 2 i internal oscillator power down. connected to vss when using internal oscillator. connected to vdd when using an external source. receiver control lines s1 - s7 22,21,20,19, 18,16,15 o seven three-state receiver control output s0 / ifin 23 o / i s0 : receiver control output when using external demodulator ifin : limited if input when using internal demodulator test pins test2 , test3 4 ,8 i ic manufacturing test mode pin. normally connected to vss . nc 1,9,17,25 o ic manufacturing test mode pin. normally connected to vss . (can be left unconnected.)
KS8701 i ntroduction flex tm roaming decoder ii 9 figure 4 : KS8701 32-lqfp top view clkout nc lobat KS8701 miso mosi v ss sck ss ready nc nc ext1 ext0 v dd symclk s7 s6 oscpd v dd test2 xtal extal v ss test3 reset s0/ifin s1 s2 s3 s4 s5 nc 25 24 23 22 21 20 19 18 17 26 27 28 29 30 31 32 9 10 11 12 13 14 15 16 8 7 6 5 4 3 2 1
introduction KS8701 10 flex tm roaming decoder ii mechanical specification package demension figure 5 : 32-lqfp-0707 package dimension min max ~ 1.60 0.05 0.15 1.35 1.45 9.00 bsc 7.00 bsc 9.00 bsc 7.00 bsc 0.45 0.75 0.80 bsc 0.30 0.45 0.30 0.40 ~ 0.10 ~ 0.20 note 9 4 4 unit : mm symbol a a1 a2 d d1 e e1 l e b b1 ccc ddd 6 6 7 - 0.05 s datum plane -h- a2 a1 0??min 0.25 0-7?? 0.08/0.20 r. 1.00 ref. 0.20 min. 0.08 r. min. l detail "b" 0.09/0.20 0.09/0.16 ddd m c a-b s d s with lead finish base metal 7 b1 b detail "c" see detail "a" 0.20 h a-b d 3 -b- e/2 d1/2 e1/2 d/2 d1 e1 d e 3 -a- 4 4 5 6 5 6 0.20 c a-b d top view 4x n/4 tips 4x -d- 3 32 24 25 17 16 9 8 1 notes: 1. all dimensioning and tolerancing conform to ansi y14.5-1982. 2. datum plane located at mold parting line and coincident with lead, where lead exits plastic body at bottom of parting line. 3. datums and to be determined at centerline between leads where leads exit plastic body at datum plane 4. to be determined at seating plane 5. dimensions d1 and e1 do not include mold protrusion, allowable mold protrusion is 0.254mm on d1 and e1 dimensions. 6. these dimensions to be determined at datum plane 7. dimension b does not include dambar protrusion, allowable dambar protrusion shall be 0.08mm total in excess of the b dimension at maximum material condition. dambar cannot be located on the lower radius or the foot. 8. controlling dimension : millimeter 9. a1 is defined as the distance from the seating plane to the lowest point of the package body. - c - - h - - h - - d - a - b - h - 2 0.05 a -h- ccc // 0.10 c -c- 8 places 11/13 ?? see detail "b" see detail "c" -a,b, or d- e/2 e 3 detail "a"
KS8701 spi packets flex tm roaming decoder ii 11 spi packets all data communicated between the KS8701 and the host mcu is transmitted on the spi in 32-bit packets. each packet consists of an 8-bit id followed by 24 bits of information. the KS8701 uses the spi bus in full duplex mode. in other words, whenever a packet communication occurs, the data in both directions is valid packet data. the spi interface consists of a ready pin and four spi pins ( ss, sck, mosi , and miso ). the ss is used as a chip select for the KS8701. the sck is a clock supplied by the host mcu. the data from the host is transmitted on the mosi (master-out-slave-in) line. the data from the KS8701 is transmitted on the miso (master-in-slave- out) line. timing requirements for spi communication are specified in ? spi timing ? on page 6 9 . packet communication initiated by the host refer to figure 6 on page 11 . when the host sends a packet to the KS8701, it performs the following steps: 1. select the KS8701 by driving the ss pin low. 2. wait for the KS8701 to drive the ready pin low. 3. send the 32-bit packet. 4. de-select the KS8701 by driving the ss pin high. 5. repeat steps 1 through 4 for each additional packet. figure 6 : typical multiple packet communications initiated by the host when the host sends a packet, it will also receive a valid packet from the KS8701. if the KS8701 is enabled (see ? checksum packet ? on page 1 6 for a definition of enabled) and has no other packets waiting to be sent, the KS8701 will send a status packet. the host must transition the ss pin from high to low to begin each 32-bit packet. the KS8701 must see a negative transition on the ss pin in order for the host to initiate each packet communication. % $ # " d0 d1 d31 d31 d31 d1 d0 d0 d1 d0 d1 d0 d1 d31 d31 d0 d1 d31 ss mosi miso high impedance state sck ready
spi packets KS8701 12 flex tm roaming decoder ii packet communication initiated by the flex decoder ic refer to figure 7 on page 1 2 . when the KS8701 has a packet for the host to read, the following occurs: 1. the KS8701 drives the ready pin low. 2. if the KS8701 is not already selected, the host selects the KS8701 by driving the ss pin low. 3. the host receives (and sends) a 32-bit packet. 4. the host de-selects the KS8701 by driving the ss pin high (optional). figure 7 : typical multiple packet communications initiated by the flex decoder ic when the host is reading a packet from the KS8701, it must send a valid packet to the KS8701. if the host has no data to send, it is suggested that the host send a checksum packet with all of the data bits set to 0 in order to avoid disabling the KS8701. see ? checksum packet ? on page 1 6 for more details on enabling and disabling the KS8701. the following figure illustrates that it is not necessary to de-select the KS8701 between packets then the packets are initiated by the KS8701. figure 8 : multiple packet communications initiated by the flex decoder ic with no de-select d1 d31 d1 d0 d31 d31 d31 d31 d31 d1 d1 d1 d1 d0 d0 d0 d0 d0 ss ready sck mosi miso high impedance state $ % " # ss d31 d1 d0 d31 d31 d31 d31 d31 d1 d1 d1 d1 d1 d0 d0 d0 d0 d0 ready sck mosi miso high-impedance state ______
KS8701 spi packets flex tm roaming decoder ii 13 host-to-decoder packet map the upper 8 bits of a packet comprise the packet id. the following table describes the packet id ? s for all of the packets that can be sent to the KS8701 from the host. table 1: host-to-decoder packet id map packet id (hexadecimal) packet type page 00 checksum 16 01 configuration 18 02 control 21 03 all frame mode 23 04 operator message address enables 24 05 roaming control packet 25 06 timing control packet 28 07 - 0e reserved (host should never send) 0f receiver line control 29 10 receiver control configuration (off setting) 30 11 receiver control configuration (warm up 1 setting) 31 12 receiver control configuration (warm up 2 setting) 31 13 receiver control configuration (warm up 3 setting) 31 14 receiver control configuration (warm up 4 setting) 31 15 receiver control configuration (warm up 5 setting) 31 16 receiver control configuration (3200sps sync setting) 32 17 receiver control configuration (1600sps sync setting) 33 18 receiver control configuration (3200sps data setting) 33 19 receiver control configuration (1600sps data setting) 33 1a receiver control configuration (shut down 1 setting) 34 1b receiver control configuration (shut down 2 setting) 34 1c - 1f special (ignored by KS8701) 20 frame-assignment (frames 112 through 127) 35 21 frame assignment (frames 96 through 111) 35 22 frame assignment (frames 80 through 95) 35 23 frame assignment (frames 64 through 79) 35
spi packets KS8701 14 flex tm roaming decoder ii table 1: host-to-decoder packet id map (continued) packet id (hexadecimal) packet type page 24 frame assignment (frames 48 through 63) 35 25 frame assignment (frames 32 through 47) 35 26 frame assignment (frames 16 through 31) 35 27 frame assignment (frames 0 through 15) 35 28 ? 77 reserved (host should never send) 78 user address enable 36 79 - 7f reserved (host should never send) 80 user address assignment (user address 0) 37 81 user address assignment (user address 1) 37 82 user address assignment (user address 2) 37 83 user address assignment (user address 3) 37 84 user address assignment (user address 4) 37 85 user address assignment (user address 5) 37 86 user address assignment (user address 6) 37 87 user address assignment (user address 7) 37 88 user address assignment (user address 8) 37 89 user address assignment (user address 9). 37 8a user address assignment (user address 10) 37 8b user address assignment (user address 11) 37 8c user address assignment (user address 12) 37 8d user address assignment (user address 13) 37 8e user address assignment (user address 14) 37 8f user address assignment (user address 15) 37 90 - ff reserved (host should never send)
KS8701 spi packets flex tm roaming decoder ii 15 decoder-to-host packet map the following table describes the packet id ? s for all of the packets that can be sent to the host from the KS8701. table 2: decoder-to-host packet id map packet id (hexadecimal) packet type page 00 block information word 39 01 address 41 02 - 57 vector or message (id is word number in frame) 42 58 - 5f reserved 60 roaming status packet 48 61 - 7d reserved 7e receiver shutdown 50 7f status 51 80 - fe reserved ff part id 53
host-to-decoder packet descriptions KS8701 16 flex tm roaming decoder ii host-to-decoder packet descriptions the following sections describe the packets of information sent from the host to the KS8701. in all cases the packets should be sent msb first (bit 7 of byte 3 = bit 31 of the packet = msb). checksum packet the checksum packet is used to insure proper communication between the host and the KS8701. the KS8701 exclusive- or ? s the 24 data bits of every packet it receives (except the checksum packet and the special packet id ? s 1c through 1f hexadecimal) with an internal checksum register. upon reset and whenever the host writes a packet to the KS8701, the KS8701 is disabled from sending any information to the host processor until the host processor sends a checksum packet with the proper checksum value ( cv ) to the KS8701. when the KS8701 is disabled in this way, it prompts the host to read the part id packet. note that all other operation continues normally when the KS8701 is ? disabled ? . disabled only implies that data cannot be read, all other internal operations continue to function. when the KS8701 is reset, it is disabled and the internal checksum register is initialized to the 24 bit part id defined in the part id packet. see ? part id packet ? on page 5 3 for a description of the part id. every time a packet other than the checksum packet and the special packets 1c through 1f is sent to the KS8701 , the value sent in the 24 information bits is exclusive- or ? ed with the internal checksum register, the result is stored back to the checksum register, and the KS8701 is disabled. if a checksum packet is sent and the cv bits match the bits in the checksum register, the KS8701 is enabled. if a checksum packet is sent when the KS8701 is already enabled, the packet is ignored by the KS8701 in which case a null packet having the id and data bits set to 0 is suggested. if a packet other than the checksum packet is sent when the KS8701 is enabled, the KS8701 will be disabled until a checksum packet is sent with the correct cv bits. when the host reads a packet out of the KS8701 but has no data to send, the checksum packet should be sent so the KS8701 will not be disabled. the data in the checksum packet could be a null packet ( 32 bit stream of all zeros ) since a checksum packet will not disable the KS8701. when the host re-configures the KS8701, the KS8701 will be disabled from sending any packets other than the part id packet until the KS8701 is enabled with a checksum packet having the proper data. the id of the checksum packet is 0. table 3: checksum packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0. 0 0 byte 2 cv 23 cv 22 cv 21 cv 20 cv 19 cv 18 cv 17 cv 16 byte 1 cv 15 cv 14 cv 13 cv 12 cv 11 cv 10 cv 9 cv 8 byte 0 cv 7 cv 6 cv 5 cv 4 cv 3 cv 2 cv 1 cv 0 cv: checksum value .
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 17 figure 9 : flex decoder ic checksum flow chart reset decoder disables itself decoder initializes checksum register to part id value decoder initiates pare id packet decoder waits for spi packet from host checksum packet? d ecoder enabled? d ecoder disables itself packet data matches checksum register data? decoder enables itself decoder sets checksum register to the xor of the packet data bits with the checksum register bits y y n n y n
host-to-decoder packet descriptions KS8701 18 flex tm roaming decoder ii configuration packet the configuration packet defines a number of different configuration options for the KS8701. proper operation is not guaranteed if these settings are changed when decoding is enabled (i.e. the on bit in the control packet is set). the id of the configuration packet is 1. table 4: configuration packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0 0 1 byte 2 0 dfc 0 0 0 ide ofd 1 ofd 0 byte 1 0 0 0 0 0 pce sp 1 sp 0 byte 0 sme mot cod mte lbp ico 0 0 dfc: disable fractional clock. when this bit is set and ide is set, the clkout signal will generate a 40 khz signal ( extal divided by 4). when this bit is cleared and ide is set, the clkout signal will generate 38.4 khz signal ( extal fractionally divided by 25/6 see diagram below). this bit has no effect when ide is cleared. ( value after reset=0) ide: internal demodulator enable. when this bit is set , the internal demodulator is enabled and clock frequency at extal is expected to be 160 khz. when this bit is cleared, the internal demodulator is disabled and the clock frequency at extal is expected to be 76.8 khz .(value after reset=0) extal clkout w/dfc=1 clkout w/dfc=0
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 19 ofd: oscillator frequency difference. these bits describe the maximum difference in the frequency of the 76.8 khz oscillator crystal with respect to the frequency of the transmitter. these limits should be the worst case difference in frequency due to all conditions including but not limited to aging, temperature, and manufacturing tolerance. using a smaller frequency difference in this packet will result in lower power consumption due to higher receiver battery save ratios . note that this value is not the absolute error of the oscillator frequency provided to the KS8701. the absolute error of the clock used by the flex transmitter must be taken into account. ( e.g. if the transmitter tolerance is +/- 25 ppm and the 76.8 khz oscillator tolerance is +/-140 ppm, the oscillator frequency difference is +/- 165 ppm and ofd should be set to 0.)( value after reset=0) ofd 1 ofd 0 frequency difference 0 0 +/- 300 ppm 0 1 +/-150 ppm 1 0 +/- 75 ppm 1 1 +/- 0 ppm pce: partial correlation enable. when this bit is set, partial correlation of addresses is enabled. when partial correlation is enabled, the KS8701 will shutdown the receiver before the end of the last flex block which contains addresses if it can determine that none of the addresses in that flex block will match any enabled address in the KS8701. when this bit is cleared, the receiver will be controlled as it was in previous versions of the ic .(value after reset=0) sp: signal polarity. these bits set the polarity of exts1 and exts0 input signals. ( value after reset=0) the polarity of the exts0 and exts1 bits will be determined by the receiver design. sp 1 sp 0 signal polarity exts1 exts0 fsk modulation @sp = 0, 0 exts1 exts0 0 0 normal normal +4800 hz 1 0 0 1 normal inverted +1600 hz 1 1 1 0 inverted normal -1600 hz 0 1 1 1 inverted inverted -4800 hz 0 0 sme: synchronous mode enable. when this bit is set, a status packet will be automatically sent whenever the smu (synchronous mode update) bit in the status packet is set. the host can use the sm (synchronous mode) bit in the status packet as an in-range/out-of-range indication. ( value after reset=0) mot: maximum off time. this bit has no effect if ast in the timing control packet is non-zero. when ast =0 and mot =0, asynchronous a-word searches will time-out in 4 minutes. when ast =0 and mot =1, asynchronous a-word searches will time-out in 1 minute. ( value after reset=0)
host-to-decoder packet descriptions KS8701 20 flex tm roaming decoder ii cod: clock output disable. when this bit is clear, a 38.4 khz or 40khz(depending on ide and dfc ) signal will be output on the clkout pin. when this bit is set, the clkout pin will be driven low. note that setting and clearing this bit can cause pulses on the clkout pin that are less than one half the clock period. also note that when the clock output is enabled and not set for clock intermittent operation(see ico in this packet), the clkout pin will always output the clock signal even when the KS8701 is in reset (as long as the KS8701 oscillator is seeing clocks). further note that the when the KS8701 is used in internal demodulator mode(i.e. uses a 160 khz oscillator), the clkout pin will be 80 khz from reset until the time the ide bit is set. this is because the KS8701 defaults to external demodulator mode at reset. ( value after reset=0) mte: minute timer enable. when this bit is set, a status packet will be sent at one minute intervals with the mt (minute time-out) bit in the status packet set. when this bit is clear, the internal one-minute timer stops counting. the internal one-minute timer is reset when this bit is changed from 0 to 1 or when the mtc (minute timer clear) bit in the control packet is set. note that the minute timer will not be accurate using a 160 khz oscillator until the ide bit is set. ( value after reset=0) lbp: low battery polarity. this bit defines the polarity of the KS8701 ? s lobat pin. the lb bit in the status packet is initialized to the inverse value of this bit when the KS8701 is turned on (by setting the on bit in the control packet). when the KS8701 is turned on, the first low battery update in the status packet will be sent to the host when a low battery condition is detected on the lobat pin. setting this bit means that a high on the lobat pin indicates a low voltage condition. ( value after reset=0) ico: intermittent clock out. when this bit is clear and cod is clear, a 38.4 khz or 40 khz (depending on the values of ide and dfc ) signal will be output on the clkout pin. when this bit is set and c o d is clear, the clock will only be output on the clkout pin while the receiver is not in the off state. the clock will be output for a few cycles before the receiver transitions from the off state and for a few cycles after the receiver transitions to the off state (this is to insure that the receiver receives enough clocks to detect and process the changes to and from the off state). the clkout pin will be driven low when it is not driving a clock. note that when the clock is automatically enabled and disabled (i.e. when ico is set), the clkout signal transitions will be clean(i.e. no pulses less than half the clock period) when it transitions between no clock and clocked output. this bit has no effect when cod is set. ( value after reset=0)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 21 control packet the control packet defines a number of different control bits for the KS8701. the id of the control packet is 2. table 5: control packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0 1 0 byte 2 ff 7 ff 6 ff 5 ff 4 ff 3 ff 2 ff 1 ff 0 byte 1 0 spm ps 1 ps 0 0 0 0 0 byte 0 0 sbi 0 mtc 0 0 eae on ff: force frame 0-7. these bits enable and disable forcing the KS8701 to look in frames 0 through 7. when an ff bit is set, the KS8701 will decode the corresponding frame. unlike the af bits in the frame assignment packets, the system collapse of a flex system will not affect frames assigned using the ff bits (e.g. where as setting af 0 to 1 when the system collapse is 5 will cause the KS8701 to decode frames 0, 32, 64, and 96, setting ff 0 to 1 when the system collapse is 5 will only cause the KS8701 to decode frame 0.). this may be useful for acquiring transmitted time information or channel attributes (e.g. local id). ( value after reset =0) spm: single phase mode. when this bit is set, the KS8701 will decode only one phase of the transmitted data. when this bit is clear, the KS8701 will decode all of the phases it receives. a change to this bit while the KS8701 is on, will not take affect until the next block 0 of the next decoded frame. ( value after reset =0) ps: phase select. when the spm bit is set, these bits define what phase the KS8701 should decode according to the following table. this value is determined by the service provider. a change to these bits while the KS8701 is on, will not take affect until the next block 0 of a frame. ( value after reset =0) ps value phase decoded (based on flex data rate) ps 1 ps 0 1600bps 3200bps 6400bps 0 0 a a a 0 1 a a b 1 0 a c c 1 1 a c d sbi: send block information words 2-4. when this bit is set, any errored or time related block information words 2-4 will be sent to the host. see ? block information word packet ? on page3 9 for a description of the words sent. ( value after reset=0) mtc: minute timer clear. setting this bit will cause the one minute timer to restart from 0.
host-to-decoder packet descriptions KS8701 22 flex tm roaming decoder ii eae: end of addresses enable. when this bit is set, the ea bit in the status packet will be set immediately after the KS8701 decodes the last address word in the frame if there was any address detected in the frame. when this bit is cleared, the ea bit will never be set. on: turn on decoder. set if the KS8701 should be decoding flex signals. clear if signal processing should be off (very low power mode). if the on bit is changed twice and the control packets making the changes are received within 2ms of each other, the KS8701 may ignore the double change and stay in its original state (e.g. if it is turned off then on again within 2ms it may stay on and ignore the off pulse). therefore it is recommended that the host insures a minimum of 2ms between changes in the on bit. ( value after reset=0) notes : turning off the KS8701 must be done using the following sequence. this sequence is performed automatically by the flex stack software version 1.2 and greater. 1. turn off the KS8701 by sending a control packe t with the on bit cleared. 2. turn on the KS8701 by sending a control packet with the on bit set. 3. turn off the KS8701 by sending a control packet with the on bit cleared. timing between these steps is specified below and is measured from the positive edge of the last clock of one packet to the positive edge of the last clock of the next packet: l the minimum time between steps 1 and 2 is 2ms or the programmed shut down time, whichever is greater. the programmed shut down time is the sum of all the of the times . programmed in the used receiver shut down settings packets. l there is no maximum time between steps 1 and 2. l the minimum time between steps 2 and 3 is 2ms. l the maximum time between steps 2 and 3 is the programmed warm up time minus 2ms. the programmed warm up time is the sum of all the of the times programmed in the used receiver warm up settings packets.
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 23 all frame mode packet the all frame mode packet is used to decrement temporary address enable counters by one, decrement the all frame mode counter by one, and/or enable or disable forcing all frame mode. all frame mode is enabled if any temporary address enable counter is non-zero, the all frame mode counter is non-zero, or the force all frame mode bit is set. if all frame mode is enabled, the KS8701 will attempt to decode every frame and send a status packet with the eof (end-of-frame) bit set at the end of every frame. both the all frame mode counter and the temporary address enable counters can only be incremented internally by the KS8701 and can only be decremented by the host. the KS8701 will increment a temporary address enable counter whenever a short instruction vector is received assigning the corresponding temporary address. see ? operation of a temporary address ? on page 6 4 for details. the KS8701 will increment the all frame mode counter whenever an alphanumeric, hex / binary, or secure vector is received. when the host determines that a message associated with a temporary address, or a fragmented message has ended, then the appropriate temporary address counter or all frame mode counter should be decremented by writing an all frame mode packet to the KS8701 in order to exit the all frame mode, thereby improving battery life. see ? building a fragmented message ? on page 61 for details. neither the temporary address enable counters nor the all frame mode counter can be incremented past the value 127 (i.e. it will not roll-over) or decremented past the value 0. the temporary address enable counters and the all frame mode counter are initialized to 0 at reset and when the decoder is turned off. the id of the all frame mode packet is 3. table 6: all frame mode packet bit assignments bit 7 bit 6 bit 5 bit4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0 1 1 byte 2 daf faf 0 0 0 0 0 0 byte 1 dta 15 dta 14 dta 13 dta 12 dta 11 dta 10 dta 9 dta 8 byte 0 dta 7 dta 6 dta 5 dta 4 dta 3 dta 2 dta 1 dta 0 daf: decrement all frame counter. setting this bit decrements the all frame mode counter by one. if a packet is sent with this bit clear, the all frame mode counter is not affected. ( value after reset=0) faf: force all frame mode. setting this bit forces the KS8701 to enter all frame mode. if this bit is clear, the KS8701 may or may not be in all frame mode depending on the status of the all frame mode counter and the temporary address enable counters. this may be useful in acquiring transmitted time information .(value after reset=0) dta: decrement temporary address enable counter. when a bit in this word is set, the corresponding temporary address enable counter is decremented by one. when a bit is cleared, the corresponding temporary address enable counter is not affected. when a temporary address enable counter reaches zero, the temporary address is disabled .(value after reset=0)
host-to-decoder packet descriptions KS8701 24 flex tm roaming decoder ii operator messaging address enable packet the operator messaging address enable packet is used to enable and disable the built-in flex operator messaging addresses. enabling and disabling operator messaging addresses does not affect what frames the decoder ic decodes. to decode the proper frames, the host must modify the ff bits in the control packet or the af bits in the frame assignment packets. the id of the operator messaging address enable packet is 4. table 7: system address enable packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 1 0 0 byte 2 0 0 0 0 0 0 0 0 byte 1 oae 15 oae 14 oae 13 oae 12 oae 11 oae 10 oae 9 oae 8 byte 0 oae 7 oae 6 oae 5 oae 4 oae 3 oae 2 oae 1 oae 0 oae : operator messaging address enable. when a bit is set, the corresponding operator messaging address is enabled. when it is cleared, the corresponding operator messaging address is disabled. oae 0 through oae 15 corresponds to the hexadecimal operator messaging address values of 1f7810 through 1f781f respectively. ( value after reset=0)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 25 roaming control packet the roaming control packet controls the features of the KS8701 that allow implementation of a roaming device. the id of the roaming control packet is 5. table 8: roaming control packet bit assignments bit bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 1 0 1 byte 2 irs nbc mcm is1 sdf rsp snd cnd byte 1 rnd abi sas das 0 0 0 0 byte 0 0 0 mfc 1 mfc 0 0 0 mco 1 mco 0 irs: ignore re-synchronization signal. when this bit is set, KS8701 will not go asynchronous when detecting an ar or ar signal during searches for a-words. it will merely report that the re- synchronization signal was received by setting rsr to 1 in the roaming status packet. this allows the host to decide what to do when the paging device is synchronous to more than one channel and only one channel is sending the re-synchronization signal. it also prevents the KS8701 from losing synchronization when it detects the re-synchronization signal while the paging device is checking an unknown channel. this bit is set and cleared by the host. ( value after reset=0) nbc: network bit check. setting this bit will enable reporting of the received network bit value ( nbu and n ) in the roaming status packet. setting this bit also makes the KS8701 abandon a frame after the frame info word without synchronizing to the frame if the frame information word is uncorrectable or if the n bit in the frame information word is not set. if the KS8701 was in synchronous mode when this occurred (probably due to synchronizing to a second channel), it will maintain synchronization to the original channel. if the KS8701 was in asynchronous mode when this occurred, it will stay in asynchronous mode and end the a-word search. this is done to avoid synchronizing to a non-roaming channel when searching for roaming channels. this bit is set and cleared by the host. ( value after reset=0) mcm: manual collapse mode. when this bit is set, the KS8701 behaves as if the system collapse was 7. the KS8701 will not apply the received system collapse to the af bits. when this bit is set, the received system collapse is reported to the host via scu and rsc in the roaming status packet. this is so the host can modify the af bits based on the system collapse of the channel. this bit is set and cleared by the host. ( value after reset=0) is1: invert exts1 . setting this bit inverts the expected polarity of the exts1 pin from the way it is configured by sp1 in the configuration packet (e.g. if both is1 and sp1 are set, the polarity of the exts1 pin is untouched). this bit is intended to be changed when a change in a channel changes the polarity of the received signal. this bit is set and cleared by the host. this bit has the equivalent effect when using the internal demodulator. ( value after reset=0) sdf: stop decoding frame. setting this bit causes the KS8701 to stop decoding a frame without losing frame synchronization. this bit is set by the host, and cleared by the KS8701 once it has been processed. the packet with the sdf bit set must be sent after receiving the status packet with ea bit set. it must be sent within 40ms of the end of block in which the KS8701 set the ea bit. ( value after reset=0)
host-to-decoder packet descriptions KS8701 26 flex tm roaming decoder ii rsp: receiver shutdown packet enable. when this bit is set, a receiver shutdown packet will be sent whenever the receiver is shut down. the receiver shutdown packet informs the host that the receiver shutdown, and how long it will be before the KS8701 will automatically warm the receiver back up. ( value after reset=0) snd: start noise detect. setting this bit while the KS8701 is battery saving will cause it to warm-up the receiver, run a noise detect, and report the result of the noise detect via ndr in the roaming status packet. this bit is set by the host, and cleared by the KS8701 once it has been processed. if the time comes for the KS8701 to warm up for automatically or the sas bit is set while an snd is being processed, the noise detect will be abandoned and the abandoned noise detect result ( ndr =01) will be sent in the roaming status packet. ( value after reset=0) cnd: continuous noise detect. setting this bit will cause the KS8701 to do continuous noise detects during the decoded block data of a frame. the results of the noise detect will only be reported if noise is detected ( ndr =11). only one noise detected result ( ndr =11) will be sent per block. if the KS8701 has not completed a noise detect when it shuts down for the frame, that noise detect will be abandoned, but no abandon result ( ndr =01) will be sent. this bit is set and cleared by the host. ( value after reset=0) rnd: report noise detects. setting this bit will cause the KS8701 to report the results of the noise detects it does under normal asynchronous operation (when first turned on and when asynchronous). the results of the noise detect will be reported via ndr in the roaming status packet. this bit is set and cleared by the host. ( value after reset=0) abi: all block information words. when this bit is set, the KS8701 will send all received block information words 2-4 to the host. note: setting the sbi bit in the control packet only enables errored and real time clock related block info words. ( value after reset=0) sas: start a-word search. setting this bit while in asynchronous battery save mode will cause the KS8701 to warm-up the receiver and run an a-word search. if, during the a-word search, the KS8701 finds sufficient flex signal, it will enter synchronous mode and start decoding the frame. if the a-word search times-out without finding sufficient flex signal, it will battery save and continue doing periodic noise detects. the time-out for the a-word searches is controlled by the ast bits in the timing control packet and the mot bit in the configuration packet. the a-word search takes priority over noise detects. therefore, if the KS8701 is performing an a-word search and the time comes to do automatic noise detect, the noise detect will not be performed. this bit is set by the host, and cleared by the KS8701 once it has been acted on. ( value after reset=0) das: disable a-word search. when this bit is set, an a-word search will not automatically occur after a noise detect in asynchronous mode finds flex signal. this includes automatic noise detects and noise detects initiated by the host by setting snd . the KS8701 will shut down the receiver after the noise detect completes regardless of the result. when this bit is cleared, a-word searches will occur after a noise detect finds signal in asynchronous mode. ( value after reset=0)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 27 mfc: missed frame control. these bits control the frames for which missing frame data ( ms1 , mfi , ms2 , mbi , and maw ) is reported in the roaming status packet. ( value after reset=0) mfc 1 mfc 0 missing frame data reported 0 0 never 0 1 only during frames 0 through 3 1 0 only during frames 0 through 7 1 1 always mco: maximum carry on. the value of these bits sets the maximum carry on that the KS8701 will follow. for example, if the KS8701 receives a carry on of 3 over the air and mco is set to 1, the KS8701 will only carry on for one frame. ( value after reset=3)
host-to-decoder packet descriptions KS8701 28 flex tm roaming decoder ii timing control packet the timing control packet gives the host control of the timing used when the KS8701 is in asynchronous mode. the packet id for the timing control packet is 6. table 9: timing control packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 1 1 0 byte 2 0 0 0 0 0 0 0 0 byte 1 ast 7 ast 6 ast 5 ast 4 ast 3 ast 2 ast 1 ast 0 byte 0 abt 7 abt 6 abt 5 abt 4 abt 3 abt 2 abt 1 abt 0 ast: a-word search time. the value of these bits sets the a-word search time for all asynchronous a-word searches in units of 80ms (e.g. value of 1 is 80ms. value of 2 is 160ms, etc.) if the value is 0, the KS8701 defaults to the 1-minute ( mot =1) or 4-minute ( mot =0) a-word search time controlled by the mot bit in the configuration packet. (value after reset=0) abt: asynchronous battery-save time. the value of these bits sets the battery save time (time from the beginning of one automatic noise detect to the beginning of the next automatic noise detect) in asynchronous mode in units of 80ms (e.g. value of 1 is 80ms, value of 2 is 160ms, etc.) if the value is 0, the battery save time is set to the default value of 1.5 seconds. the minimum allowed abt is 320ms, therefore values of 1, 2, 3, and 4 are invalid. (value after reset=0)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 29 receiver line control packet this packet gives the host control over the settings on the receiver control lines ( s0 - s7 ) in all modes except reset. in reset, the receiver control lines are in high impedance settings. the id for the receiver line control packet is 15 (decimal). table 10: receiver line control packet bit assignments bit 7 bit 6 bit 5 bit4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 1 1 1 1 byte 2 0 0 0 0 0 0 0 0 byte 1 frs 7 frs 6 frs 5 frs 4 frs 3 frs 2 frs 1 frs 0 byte 0 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 frs: force receiver setting. setting a bit to one will cause the corresponding cls bit in this packet to override the internal receiver control settings on the corresponding receiver control line ( s0 - s7 ). clearing a bit gives control of the corresponding receiver control lines ( s0 - s7 ) back to the KS8701. ( value after reset=0) cls: control line setting. if the corresponding frs bit was set in this packet, these bits define what setting should be applied to the corresponding receiver control lines .(value after reset=0)
host-to-decoder packet descriptions KS8701 30 flex tm roaming decoder ii receiver control configuration packets these packets allow the host to configure what setting is applied to the receiver control lines so - s7 , how long to apply the setting, and when to read the value of the lobat input pin. for a more detailed description of how the KS8701 uses these settings see ? receiver control ? on page 55 . the KS8701 defines 12 different receiver control settings. proper operation is not guaranteed if these settings are changed when decoding is enabled (i.e. the on bit in the control packet is set). the ids for these packets range from 16 to 27 (decimal). receiver off setting packet table 11: receiver off setting packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit1 bit 0 byte 3 0 0 0 1 0 0 0 0 byte 2 0 0 0 0 lbc 0 0 0 byte 1 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 byte 0 st 7 st 6 st 5 st 4 st 3 st 2 st 1 st 0 lbc: low battery check. if this bit is set, the KS8701 will check the status of the lobat port just before leaving this receiver state. ( value after reset=0) cls: control line setting. this is the value to be output on the receiver control lines ( s0 - s7 ) for this receiver state. ( value after reset=0) st: step time. this is the time the KS8701 is to keep the receiver off before applying the first warm up state ? s receiver control value to the receiver control lines. the setting is in steps of 625us. valid values are 625us ( st =01) to 159.375ms ( st =ff in hexadecimal). ( value after reset=625us)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 31 receiver warm up setting packets table 12: receiver warm up setting packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 1 0 s 2 s 1 s 0 byte 2 se 0 0 0 lbc 0 0 0 byte 1 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 byte 0 0 st 6 st 5 st 4 st 3 st 2 st 1 st 0 s : setting number. receiver control setting for which this packet ? s values are to be applied. the following truth table shows the names of each of the values for s that apply to this packet. s 2 s 1 s 0 setting name 001 warm up 1 010 warm up 2 011 warm up 3 100 warm up 4 101 warm up 5 se: step enable. the receiver setting is enabled when the bit is set. if a step in the warm up sequence is disabled, the disabled step and all remaining steps will be skipped. ( value after reset=0) lbc: low battery check. if this bit is set, the KS8701 will check the status of the lobat port just before leaving this receiver state. ( value after reset=0) cls: control line setting. this is the value to be output on the receiver control lines ( s0 - s7 ) for this receiver state. ( value after reset=0) st: step time. this is the time the KS8701 is to wait before applying the next state ? s receiver control value to the receiver control lines. the setting is in steps of 625us. valid values are 625us ( st =01) to 79.375ms ( st =7f in hexadecimal), (value after reset=625us)
host-to-decoder packet descriptions KS8701 32 flex tm roaming decoder ii 3200sps sync setting packets table 13: 3200sps sync setting packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 1 0 1 1 0 byte 2 0 0 0 0 lbc 0 0 0 byte 1 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 byte 0 0 st 6 st 5 st 4 st 3 st 2 st 1 st 0 lbc: low battery check. if this bit is set, the KS8701 will check the status of the lobat port just before leaving this receiver state. ( value after reset=0) cls: control line setting. this is the value to be output on the receiver control lines ( so - s7 ) for this receiver state. ( value after reset=0) st: step time. this is the time the KS8701 is to wait before expecting good signals on the exts1 and exts0 signals after warming up. the setting is in steps of 625us. valid values are 625us ( st =01) to 79.375ms ( st =7f in hexadecimal). ( value after reset=625us)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 33 receiver on setting packets table 14: receiver on setting packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 1 s 3 s 2 s 1 s 0 byte 2 0 0 0 0 lbc 0 0 0 byte 1 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 byte 0 0 0 0 0 0 0 0 0 s: setting number. receiver control setting for which this packet ? s values are to be applied. the following truth table shows the names of each of the values for s that apply to this packet. s 3 s 2 s 1 s 0 setting name 0111 1600sps sync 1000 3200sps data 1001 1600sps data lbc: low battery check. if this bit is set, the KS8701 will check the status of the lobat port just before leaving this receiver state. ( value after reset=0) cls: control line setting. this is the value to be output on the receiver control lines ( s0 - s7 ) for this receiver state. ( value after reset=0)
host-to-decoder packet descriptions KS8701 34 flex tm roaming decoder ii receiver shut down setting packets table 15: receiver shut down setting packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 1 1 0 1 s byte 2 se 0 0 0 lbc 0 0 0 byte 1 cls 7 cls 6 cls 5 cls 4 cls 3 cls 2 cls 1 cls 0 byte 0 0 0 st 5 st 4 st 3 st 2 st 1 st 0 s: setting number. receiver control setting for which this packet ? s values are to be applied. the following truth table shows the names of each of the values for s that apply to this packet. s setting name 0 shut down 1 1 shut down 2 se: step enable. the receiver setting is enabled when the bit is set. if a step in the shut down sequence is disabled, all steps following the disabled step will be ignored. ( value after reset=0) lbc: low battery check. if this bit is set, the KS8701 will check the status of the lobat port just before leaving this receiver state. ( value after reset=0) cls: control line setting. this is the value to be output on the receiver control lines ( s0 - s7 ) for this receiver state. ( value after reset=0) st: step time. this is the time the KS8701 is to wait before applying the next state ? s receiver control value to the receiver control lines. the setting is in steps of 625us. valid values are 625us ( st =01) to 39.375ms ( st =3f in hexadecimal) .(value after reset=625us)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 35 frame assignment packets the flex protocol defines that each address of a flex pager is assigned a home frame and a battery cycle. the KS8701 must be configured so that a frame that is assigned by one or more of the addresses ? home frames and battery cycles has its corresponding configuration bit set. for example, if the KS8701 has one enabled address and it is assigned to frame 3 with a battery cycle of 4, the af bits for frames 3, 19, 35, 51, 67, 83, 99, and 115 should be set and the af bits for all other frames should be cleared. when the KS8701 is configured for manual collapse mode by setting the mcm bit in the roaming control packet, the KS8701 will not apply the received system collapse to the af bits. the host should set the af bits for all frames that should be decoded on all channels. for example, if frames 0 and 64 should be decoded on one channel and frames 4, 36, 68, and 100 should be decoded on another channel, all six of the corresponding af bits should be set. the host can then change the receiver ? s carrier frequency after the KS8701 decodes frames 0, 36, 64, and 100. there are 8 frame assignment packets. the packet ids for these packets range from 32 to 39 (decimal). table 16: frame assignment packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 1 0 0 f 2 f 1 f 0 byte 2 0 0 0 0 0 0 0 0 byte 1 af 15 af 14 af 13 af 12 af 11 af 10 af 9 af 8 byte 0 af 7 af 6 af 5 af 4 af 3 af 2 af 1 af 0 f: frame range. this value determines which 16 frames correspond to the 16 af bits in the packet according to the following table. at least one of these bits must be set when the KS8701 is turned on by setting the on bit in the control packet. ( value after reset=0) f 2 f 1 f 0 af 15 af 0 000 frame 127 frame 112 001 frame 111 frame 96 010 frame 95 frame 80 011 frame 79 frame 64 100 frame 63 frame 48 101 frame 47 frame 32 110 frame 31 frame 16 111 frame 15 frame 0 af: assigned frame. if a bit is set, the KS8701 will consider the corresponding frame to be assigned via an address ? s home frame and pager collapse. ( value after reset=0)
host-to-decoder packet descriptions KS8701 36 flex tm roaming decoder ii user address enable packet the user address enable packet is used to enable and disable the 16 user address words. although the host is allowed to change the user address words while the KS8701 is decoding flex signals, the host must disable a user address word before changing it. the id of the user address enable packet is 120 (decimal). table 17: user address enable packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 1 1 1 1 0 0 0 byte 2 0 0 0 0 0 0 0 0 ? byte 1 uae 15 uae 14 uae 13 uae 12 uae 11 uae 10 uae 9 uae 8 byte 0 uae 7 uae 6 uae 5 uae 4 uae 3 uae 2 uae 1 uae 0 uae: user address enable. when a bit is set, the corresponding user address word is enabled. when it is cleared, the corresponding user address word is disabled. uae 0 corresponds to the user address word configured using a packet id of 128, and uae 15 corresponds to the user address word configured using a packet id of 143. ( value after reset=0)
KS8701 host-to-decoder packet descriptions flex tm roaming decoder ii 37 user address assignment packets the KS8701 has 16 user address words. each word can be programmed to be a short address, part of a long address, or the first part of a network id. the addresses are configured using the address assignment packets. each user address can be configured as long or short and tone-only or regular (network id ? s are short and regular). although the host is allowed to send these packets while the KS8701 is on, the host must disable the user address word by clearing the corresponding uae bit in the user address enable packet before changing any of the bits in the corresponding user address assignment packet. this method allows for easy reprogramming of user addresses without disrupting normal operation. the ids for these packets range from 128 to 143 (decimal). table 18: user address assignment packet bit assignments bit7 bit 6 bit 5 bit4 bit 3 bit 2 bit 1 bit 0 byte 3 1 0 0 0 a 3 a 2 a 1 a 0 byte 2 0 la toa a 20 a 19 a 18 a 17 a 16 byte 1 a 15 a 14 a 13 a 12 a 11 a 10 a 9 a 8 byte 0 a 7 a 6 a 5 a 4 a 3 a 2 a 1 a 0 a: user address word number. this specifies which address word is being configured. a zero in this field corresponds to address index zero ( ai =0) in the address packet received from the KS8701 when an address is detected. see ? address packet ? on page 41 for a description of the address index field. la: long address. when this bit is set, the address is considered a long address. both words of a long address must have this bit set. the first word of a long address must have an even address index and the second word must be in the address index immediately following the first word. toa: tone-only address. when this bit is set, the KS8701 will consider this address a tone-only address and will not decode a vector word when the address is received. if the toa bit of a long address word is set, the toa bit of the other word of the long address must also be set. a: address word. this is the 21 bit value of the address word. valid flex messaging addresses or network id ? s may be used.
decoder-to-host packet descriptions KS8701 38 flex tm roaming decoder ii decoder-to-host packet descriptions the following sections describe the packets of information that will be sent from the KS8701 to the host. in all cases the packets are sent msb first (bit 7 of byte 3 = bit 31 of the packet = msb). the KS8701 decides what data should be sent to the host. if the KS8701 is disabled through the checksum feature (see ? checksum packet ? on page 1 6 for a description of the checksum feature) the part id packet will be sent. data packets relating to data received over the air are buffered in the 32 packet transmit buffer. the data packets include block information word packets, address packets, vector packets, and message packets. if the KS8701 is enabled and a receiver shutdown packet is pending, the receiver shutdown packet will be sent. if there is no receiver shutdown packet pending, but there is a roaming status packet pending, the roaming status packet will be sent. if neither the receiver shutdown packet nor the roaming status packet is pending and there is data in the transmit buffer, a packet from the transmit buffer will be sent. otherwise, the KS8701 will send the status packet (which is not buffered). in the event of a buffer overflow, the KS8701 will automatically stop decoding and clear the buffer. it is recommended that the host be designed to empty the fifo buffer every block with enough time left over to read a status packet. this would ensure that any applicable status packet would be received within 1 block of the new status being available. figure 10 : flex decoder ic spi transmit functional block diagram 32 32 32 32 32 32 part id register receiver shutdown register roaming status register 32x32 data packet fifo transmit buffer status register spi transmit register miso mux
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 39 block information word packet the block information field is the first field following the synchronization codes of the flex protocol. this field contains information about the frame such as number of addresses and messages, information about current time, the channel id, channel attributes, etc. the first block information word of each phase is used internally to the KS8701 and is never transmitted to the host with the exception of the system collapse which is sent to the host when the KS8701 is in manual collapse mode. time block information words 2-4 can be optionally sent to the host by setting the sbi bit in the control packet (see ? control packet ? on page 21 ). all block information words 2-4 can be optionally sent to the host by setting the abi bit in the roaming control packet. when the sbi or abi bit is set and any block information word 2-4 is received with an uncorrectable number of bit errors, the KS8701 will send the block information word to the host with the e bit set regardless of the value of the f field in the block information word. the KS8701 does not support decoding of the vector and message words associated with the data/system message block info word ( f =101). the id of a block information word packet is 0 (decimal). table 19: block information word packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0 0 0 byte 2 e p 1 p 0 x x f 2 f 1 f 0 byte 1 x x s 13 s 12 s 11 s 10 s 9 s 8 byte 0 s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 e: set if more than 2 bit errors are detected in the word or if the check character calculation fails after error correction has been performed. p: phase on which the block information word was found (0=a, 1=b, 2=c, 3=d) x: unused bits. the value of these bits is not guaranteed. f: word format type. the value of these bits modify the meaning of the s bits in this packet as described in the biw word descriptions in the s bit definition below.
decoder-to-host packet descriptions KS8701 40 flex tm roaming decoder ii s: these are the information bits of the block information word. the definition of these bits depend on the f bits in this packet. the following table describes the block information words. f 2 f 1 f 0 s 13 s 12 s 11 s 10 s 9 s 8 s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 description 000 a i 8 i 7 i 6 i 5 i 4 i 3 i 2 i 1 i 0 c 4 c 3 c 2 c 1 c 0 local id, coverage zone 001 b m 3 m 2 m 1 m 0 d 4 d 3 d 2 d 1 d 0 y 4 y 3 y 2 y 1 y 0 month ,day, year 010 b s 2 s 1 s 0 m 5 m 4 m 3 m 2 m 1 m 0 h 4 h 3 h 2 h 1 h 0 second ,minute, hour 011 a reserved by flex protocol for future use 100 a reserved by flex protocol for future use 101 b z 9 z 8 z 7 z 6 z 5 z 4 z 3 z 2 z 1 z 0 a 3 a 2 a 1 a 0 system message 110 a reserved by flex protocol for future use 111 a c 9 c 8 c 7 c 6 c 5 c 4 c 3 c 2 c 1 c 0 t 3 t 2 t 1 t 0 country code, traffic management flags a. will be decoded only if the abi bit is set b. will be decoded only if the sbi or abi bit is set
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 41 address packet the address field follows the block information field in the flex protocol. it contains all of the address in the frame. if less than three bit errors are detected in a received address word and it matches an enabled address assigned to the KS8701, an address packet will be sent to the host processor. the address packet contains assorted data about the address and its associated vector and message. the id of an address packet is 1 (decimal). table 20: address packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 0 0 0 0 0 0 1 byte 2 pa p 1 p 0 la x x x x byte 1 ai 7 ai 6 ai 5 ai 4 ai 3 ai 2 ai 1 ai 0 byte 0 toa wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 pa: priority address. set if the address was received as a priority address. p: phase on which the address was detected (0=a, 1=b, 2=c, 3=d) la: long address type. set if the address was programmed in the KS8701 as a long address. ai: address index (valid values are 0 through 15 and 128 through 159). the index identifies which of the addresses was detected. values 0 through 15 correspond to the 16 programmable address words. values 128 through 143 correspond to the 16 temporary addresses. values 144 through 159 correspond to the 16 operator messaging addresses. for long addresses, the address detect packet will only be sent once and the index will refer to the second word of the address. toa: tone only address. set if the address was programmed in the KS8701 as a tone-only address. this bit will never be set for temporary or operator messaging addresses. no vector word will be sent for tone-only addresses. wn: word number of vector (2 - 87). describes the location in the frame of the vector word for the detected address. this value is invalid for this packet if the toa bit is set. x: unused bits. the value of these bits is not guaranteed.
decoder-to-host packet descriptions KS8701 42 flex tm roaming decoder ii vector packet the vector field follows the address field in the flex protocol. each vector packet must be matched to its corresponding address packet. the id of the vector packet is the word number where the vector word was received in the frame. this value corresponds to the wn bits sent in the associated address packet. the phase information in both the address packet and the vector packet must also match. it is important to note for long addresses, the first message word will be transmitted in the word location immediately following the associated vector. see ? message building ? on page 5 9 for a message building example. in this case, the word number (identified by b 6 to b 0 ) in the vector packet will indicate the message start of the second message word if the message is longer than 1 word. there are several types of vectors - 3 types of numeric vectors, a short message / tone only vector, a hex / binary vector, an alphanumeric vector, a secure message vector, and a short instruction vector. each is described in the following pages. one of the modes of the short instruction vector is used for assigning temporary addresses that may be associated with a group call. the numeric, hex / binary, alphanumeric, and secure message vector packets have associated message word packets in the message field. the host must use the n and b bits of the vector word to calculate what message word locations are associated with the vector. both the message word locations and the phase must match. four of the vectors (hex / binary, alphanumeric, secure message, and short instruction) enable the KS8701 to begin the all frame mode. this mode is required to allow for the decoding of temporary addresses and / or fragmented messages. the host disables the all frame mode after the proper time by writing to the decoder via the all frame mode packet. see ? building a fragmented message ? on page 61 and ? operation of a temporary address ? on page 6 4 for more information. for any address packet sent to the host (except tone-only addresses), a corresponding vector packet will always be sent. if more than two bit errors are detected (via bch calculations, parity calculations, check character calculations, or value validation) in the vector word the e bit will be set and the message words will not be sent.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 43 numeric vector packet table 21: numeric vector packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 byte 2 e p 1 p 0 x x v 2 v 1 v 0 byte 1 x x k 3 k 2 k 1 k 0 n 2 n 1 byte 0 n 0 b 6 b 5 b 4 b 3 b 2 b 1 b 0 v: vector type identifier. v 2 v 1 v 0 name description 011 standard numeric vector no special formatting of characters is specified 100 special format numeric vector formatting of the received characters is predetermined by special rules in the host. 111 numbered numeric vector the received information has been numbered by the service provider to indicate all messages have been properly received wn: word number of vector (2 - 87 decimal). describes the location of the vector word in the frame. e: set if more than 2 bit errors are detected in the word, if the check character calculation fails after error correction has been performed, or if the vector value is determined to be invalid. p: phase on which the vector was found (0=a, 1=b,2=c, 3=d) k: beginning check bits of the message. n: number of message words in the message including the second vector word for long addresses (000=1 word message, 001=2 word message, etc.). for long addresses, the first message word is located in the word location that immediately follows the associated vector. b: word number of message start in the message field (3 - 87 decimal). for long addresses, the word number indicates the location of the second message word. x: unused bits. the value of these bits is not guaranteed.
decoder-to-host packet descriptions KS8701 44 flex tm roaming decoder ii short message / tone only vector table 22: short message / tone only vector packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 byte 2 e p 1 p 0 x x v 2 v 1 v 0 byte 1 x x d 11 d 10 d 9 d 8 d 7 d 6 byte 0 d 5 d 4 d 3 d 2 d 1 d 0 t 1 t 0 v: 010 for a short message / tone only vector wn : word number of vector (2 - 87 decimal). describes the location of the vector word in the frame. e: set if more than 2 bit errors are detected in the word or, if after error correction, the check character calculation fails. p: phase on which the vector was found (0=a, 1=b, 2=c, 3=d) d: data bits whose definition depend on the value of t in this packet according to the following table. note that if this vector is received on a long address and the e bit in this packet is not set, the decoder will send a message packet from the word location immediately following the vector packet. except for the short message on a non-network address ( t =0), all message bits in the message packet are unused and should be ignored. t 1 t 0 d 11 d 10 d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 description 00 c 3 c 2 c 1 c 0 b 3 b 2 b 1 b 0 a 3 a 2 a 1 a 0 short numeric: 3 numeric chars a when on a messaging address 00 t 3 t 2 t 1 t 0 m 2 m 1 m 0 a 4 a 3 a 2 a 1 a 0 part of nid when on a network address 01 s 8 s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 s 2 s 1 s 0 tone only: 8 source (s) and 9 unused bits(s) 10 s 1 s 0 r 0 n 5 n 4 n 3 n 2 n 1 n 0 s 2 s 1 s 0 tone only: 8 source (s),message number(n),message retrieval flag (r), and 2 unused bits(s) 11 spare message type a. for long addresses, an extra 5 characters are sent in the message packet immediately following the vector packet. t: message type. these bits define the meaning of the d bits in this packet. x: unused bits. the value of these bits is not guaranteed.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 45 hex / binary, alphanumeric, and secure message vector table 23: hex / binary, alphanumeric, and secure message vector packet bit assignments bit 7 bit 6 bit 5 bit4 bit 3 bit 2 bit 1 bit 0 byte 3 0 wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 byte 2 e p 1 p 0 x x v 2 v 1 v 0 byte 1 x x n 6 n 5 n 4 n 3 n 2 n 1 byte 0 n 0 b 6 b 5 b 4 b 3 b 2 b 1 b 0 v: vector type identifier. v 2 v 1 v 0 type 000 secure 101 alphanumeric 110 hex / binary wn: word number of vector (2 - 87 decimal). describes the location of the vector word in the frame. e: set if more than 2 bit errors are detected in the word, if the check character calculation fails after error correction has been performed, or if the vector value is determined to be invalid. p: phase on which the vector was found (0=a, 1=b, 2=c, 3=d) n: number of message words in this frame including the first message word that immediately follows a long address vector. valid values are 1 through 85 decimal b: word number of message start in the message field. valid values are 3 through 87 decimal. x: unused bits. the value of these bits is not guaranteed. note: for long addresses, the first message packet is sent from the word location immediately following the word location of the vector packet. the b bits indicate the second message word in the message field if one exists.
decoder-to-host packet descriptions KS8701 46 flex tm roaming decoder ii short instruction vector table 24: short instruction vector packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 byte 2 e p 1 p 0 x x v 2 v 1 v 0 byte 1 x x d 10 d 9 d 8 d 7 d 6 d 5 byte 0 d 4 d 3 d 2 d 1 d 0 i 2 i 1 i 0 v: 001 for a short instruction vector. wn: word number of vector (2 - 87 decimal). describes the location of the vector word in the frame. e: set if more than 2 bit errors are detected in the word or, if after error correction the check character calculation fails. p: phase on which the vector was found (0=a, 1=b, 2=c, 3=d) d: data bits whose definition depend on the i bits in this packet according to the following table. note that if this vector is received on a long address and the e bit in this packet is not set, the decoder will send a message packet immediately following the vector packet. all message bits in the message packet are unused and should be ignored for all modes except the temporary address assignment with msn ( i 2 i 1 i 0 =010). i 2 i 1 i 0 d 10 d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 description 000 a 3 a 2 a 1 a 0 f 6 f 5 f 4 f 3 f 2 f 1 f 0 temporary address assignment a 001 d 10 d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 11 event flags for system event 010 a 3 a 2 a 1 a 0 f 6 n 5 n 4 n 3 n 2 n 1 n 0 temporary address assignment with msn b 011 reserved 100 reserved 101 reserved 110 reserved 111 reserved for test a. assigned temporary address (a) and assigned frame (f). see ? operation of a temporary address ? on page 6 4 for a description of the use of these fields b. assigned temporary address (a), msb o f assigned frame (f 6 ), and message sequence number (n). the message packet sent with this instruction on long addresses contains extra frame information, see ? operation of a temporary address ? on page 6 4 for a description and for details on the use of the other fields. i: instruction type. these bits define the meaning of the d bits in this packet. x: unused bits. the value of these bits is not guaranteed.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 47 message packet the message field follows the vector field in the flex protocol. it contains the message data, checksum information, and may contain fragment numbers and message numbers. if the error bit of a vector word is not set and the vector word indicates that there are message words associated with the page, the message words are sent in message packets. the id of the message packet is the word number where the message word was received in the frame. table 25: message packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 5 0 wn 6 wn 5 wn 4 wn 3 wn 2 wn 1 wn 0 byte 2 e p 1 p 0 i 20 i 19 i 18 i 17 i 16 byte 1 i 15 i 14 i 13 i 12 i 11 i 10 i 9 i 8 byte 0 i 7 i 6 i 5 i 4 i 3 i 2 i 1 i 0 wn: word number of message word (3 - 87 decimal). describes the location of the message word in the frame. e: set if more than 2 bit errors are detected in the word. p: phase on which the message word was found (0=a, 1=b, 2=c, 3=d) i: these are the information bits of the message word. the definitions of these bits depend on the vector type and which word of the message is being received.
decoder-to-host packet descriptions KS8701 48 flex tm roaming decoder ii roaming status packet the KS8701 will prompt the host to read a roaming status packet if rsr , ms1 , mfi , ms2 , mbi , maw , nbu ndr 1 , ndr 0 , or scu is set. table 26: roaming status packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 1 1 0 0 0 0 0 byte 2 rsr ms1 mfi ms2 mbi maw nbu n byte 1 x x x x x x ndr 1 ndr 0 byte 0 x x x x scu rsc 2 rsc 1 rsc 0 rsr: re-synchronization signal received. set when the KS8701 detected a re - synchronization signal and the host configured the KS8701 to ignore it via the irs bit in the roaming control packet. this bit is cleared when read. ms1: missed synchronization 1. set when the KS8701 failed to detect the first synchronization pattern (a / a) of a flex frame and the KS8701 was configured to report missed frame information via the mfc bit in the roaming control packet. this bit is cleared when read. mfi: missed frame information word. set when the frame information word is received with an uncorrectable number of errors and the KS8701 was configured to report missed frame information via the mfc bit in the roaming control packet. this bit is cleared when read. ms2: missed synchronization 2. set when the KS8701 failed to detect the second synchronization pattern (c / c) of a frame and the KS8701 was configured to report missed frame information via the mfc bit in the roaming control packet. this bit is cleared when read. mbi: missed block information word 1. set when at least one of the block information word ones is received with an uncorrectable number of errors and the KS8701 was configured to report missed frame information via the mfc bit in the roaming control packet. this bit is set no more than once per frame regardless of the number of missed block information word 1 ? s in the frame. this bit is cleared when read. maw: missed address word. set when any address words in the address field is received with an uncorrectable number of errors and the KS8701 was configured to report missed frame information via the mfc bit in the roaming control packet. this bit is set no more than once per frame regardless of the number of missed address words in the frame. this bit is cleared when read. nbu: network bit update. set when the nbc bit in the roaming control packet is set and a frame information word is received with a correctable number of errors. this bit will not be set when the frame information word is not received due to missing the first synchronization pattern (a / a). this bit is cleared when read. n: network bit value. when nbu is set, this is the value of the n bit in the last received frame information word.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 49 ndr: noise detect result. these bits indicate the result of a noise detect. the results of noise detects initiated by setting the snd bit in the roaming control packet will always be reported. the results of the automatic noise detects performed in asynchronous mode will only be reported if the rnd bit is set in the roaming control packet. when continuous noise detects during block data are enabled by setting the cnd bit in the roaming control packet, only the ? no flex signal detected ? result will be reported. these bits are cleared when read. ndr noise detect result 00 no information 01 noise detect was abandoned 10 flex signal detected 11 flex signal not detected scu: system collapse update. set when the KS8701 is configured for manual collapse mode by setting the mcm bit in the roaming control packet and the system collapse of a frame is received. this bit is set no more than once per frame regardless of the number of phases in the frame. this bit will not be set in frames in which no block information word ones is received properly. this bit is cleared when read. rsc: received system collapse. when scu is set, this value represents the system collapse value that was received in the frame
decoder-to-host packet descriptions KS8701 50 flex tm roaming decoder ii receiver shutdown packet the shutdown packet is sent in both synchronous and asynchronous mode. it is designed to indicate to the host that the receiver is turned off and how much time there is until the KS8701 will automatically turn it back on. table 27: receiver shut down packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 1 1 1 1 1 1 0 byte 2 fnv cf 6 cf 5 cf 4 cf 3 cf 2 cf 1 cf 0 byte 1 tnf 7 tnf 6 tnf 5 tnf 4 tnf 3 tnf 2 tnf 1 tnf 0 byte 0 fco naf 6 naf 5 naf 4 naf 3 naf 2 naf 1 naf 0 fnv: frame number valid. this bit is set if the last decoded frame info word was correctable and the frame number was the expected value. when in asynchronous mode, this value will be 0. cf: current frame. when in synchronous mode, this is the current frame number. this value is latched on the negative edge of the ready line when this packet is sent to the host. the value of this field is valid only if the KS8701 is in synchronous mode and the fiv bit in the status packet is set. when in asynchronous mode, this value will be 0. tnf: time to next frame. when in synchronous mode tnf indicates the time to the start of the a-word check if the KS8701 were to warm up for the next frame. when in asynchronous mode tnf indicates the time to the start of the next automatic noise detect. see ? using the receiver shutdown packet ? on page 6 6 for an explanation on how to use this value. this value is latched on the negative edge of the ready line when this packet is sent to the host. fco: frame carried on. set if the KS8701 is decoding the next frame due to the reception of a non-zero carry-on value in a previous frame. when in synchronous mode, this value will be 0. naf: next assigned frame. this is the frame number of the next frame the KS8701 was scheduled to decode when the receiver shut down. the value of this field is valid only if the KS8701 is in synchronous mode and the fiv bit in the status packet is set. when in asynchronous mode this value will be 0.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 51 status packet the status packet contains various types of information that the host may require. the status packet will be sent to the host whenever the KS8701 is polled and has no other data to send. the KS8701 can also prompt the host to read the status packet due to events for which the KS8701 was configured to send it (see ? configuration packet ? on page 1 8 and ? control packet ? on page 21 for a detailed description of the bits). the KS8701 will prompt the host to read a status packet if the... 1. ... smu bit in the status packet and the sme bit in the configuration packet are set. 2. ... mt bit in the status packet and the mte bit in the configuration packet are set. 3. ... eof bit in the status packet is set. 4. ... lbu bit in the status packet is set. 5. ... ea bit in the status packet is set. 6. ... boe bit in the status packet is set. the id of the status packet is 127 (decimal). table 28: status packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 0 1 1 1 1 1 1 1 byte 2 fiv f 6 f 5 f 4 f 3 f 2 f 1 f 0 byte 1 sm lb x x c 3 c 2 c 1 c 0 byte 0 smu lbu x mt x eof ea boe fiv: frame info valid. set when a valid frame info word has been received since becoming synchronous to the system and the f and c fields contain valid values. if this bit is clear, no valid frame info words have been received since the KS8701 became synchronous to the system. this value will change from 0 to 1 at the end of block 0 of the frame in which the 1st frame info word was properly received. it will be cleared when the KS8701 goes into asynchronous mode. this bit is initialized to 0 when the KS8701 is reset and when the KS8701 is turned off by clearing the on bit in the control packet. f: current frame number. this value is updated every frame regardless of whether the KS8701 needs to decode the frame. this value will change to its proper value for a frame at the end of block 0 of the frame. the value of these bits is not guaranteed when fiv is 0. sm: synchronous mode. this bit is set when the KS8701 is synchronous to the system. the KS8701 will set this bit when the first synchronization words are received. it will clear this bit when the KS8701 has not received both synchronization words in any frame for 8, 16, or 32 minutes (depending on the number of assigned frames and the system collapse). this bit is initialized to 0 when the KS8701 is reset and when it is turned off by clearing the on bit in the control packet lb: low battery. set to the value last read from the lobat pin. the host controls when the lobat pin is read via the receiver control packets. this bit is initialized to 0 at reset. it is also initialized to the inverse of the lbp bit in the configuration packet when the KS8701 is turned on by setting the on bit in the control packet.
decoder-to-host packet descriptions KS8701 52 flex tm roaming decoder ii c: current system cycle number. this value is updated every frame regardless of whether the KS8701 needs to decode the frame. this value will change to its proper value for a frame at the end of block 0 of the frame. the value of these bits is not guaranteed when fiv is 0. smu: synchronous mode update. set if the sm bit has been updated in this packet. when the KS8701 is turned on, this bit will be set when the first synchronization words are found ( sm changes to 1) or when the first synchronization search window after the KS8701 is turned on expires ( sm stays 0). the latter condition gives the host the option of assuming the paging device is in range when it is turned on, and displaying out-of-range only after the initial a search window expires. after the initial synchronous mode update, the smu bit will be set whenever the KS8701 transitions from/to synchronous mode. cleared when read. changes in the sm bit due to turning off the KS8701 will not cause the smu bit to be set. this bit is initialized to 0 when the KS8701 is reset. lbu: low battery update. set if the value on two consecutive reads of the lobat pin yielded different results. cleared when read. the host controls when the lobat pin is read via the receiver control packets. changes in the lb bit due to turning on the KS8701 will not cause the lbu bit to be set. this bit is initialized to 0 when the KS8701 is reset. mt: minute time-out. set if one minute has elapsed. cleared when read. this bit is initialized to 0 when the KS8701 is reset. eof: end of frame. set when the KS8701 is in all frames mode and the end of frame has been reached. the KS8701 is in all frames mode if the all frames mode enable counter is non-zero, if any temporary address enabled counter is non-zero, or if the faf bit in the all frame mode packet is set. cleared when read. this bit is initialized to 0 when the KS8701 is reset. ea: end of addresses. if eae of the control packet is set and an address is detected in a frame, ea will be set after the KS8701 processes the last address in the frame. since data packets take priority over the status packet, the status packet with the ea bit set is guaranteed to come after all address packets for the frame. cleared when read. this bit is initialized to 0 when the KS8701 is reset. boe: buffer overflow error. set when information has been lost due to slow host response time. when the data packet fifo transmit buffer on the KS8701 overflows, the KS8701 clears the transmit buffer, turns off decoding by clearing the on bit in the control packet, and sets this bit. cleared when read. this bit is initialized to 0 when the KS8701 is reset. x: unused bits. the value of these bits is not guaranteed.
KS8701 decoder-to-host packet descriptions flex tm roaming decoder ii 53 part id packet the part id packet is sent by the KS8701 whenever the KS8701 is disabled due to the checksum feature. see ? checksum packet ? on page 1 6 for a description of the checksum feature. since the KS8701 is disabled after reset, this is the first packet that will be received by the host after reset. the id of the part id packet is 255 (decimal). table 29: part id packet bit assignments bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 byte 3 1 1 1 1 1 1 1 1 byte 2 mdl 1 mdl 0 cid 13 cid 12 cid 11 cid 10 cid 9 cid 8 byte 1 cid 7 cid 6 cid 5 cid 4 cid 3 cid 2 cid 1 cid 0 byte 0 rev 7 rev 6 rev 5 rev 4 rev 3 rev 2 rev 1 rev 0 mdl: model. this identifies the flex decoder model. current value is 0. cid: compatibility id. this value describes the flex decoder ics to which this part is backwards compatible. see table below for meaning and current value. bit indicates this ic can be used in place of value for flex tm roaming decoder ii cid 0 flex alphanumeric decoder i a 1 (true) cid 1 flex roaming decoder i b 1 (true) cid 2 flex numeric decoder 0 (false) a. compatibility to flex alphanumeric decoder ii is indicated by mdl set to 0, cid 0 set to 1, and rev greater than or equal to 7. b. compatibility to flex roaming decoder ii is indicated by mdl set to 0, cid 1 set to 1, and rev greater than or equal to 8.
decoder-to-host packet descriptions KS8701 54 flex tm roaming decoder ii rev: revision. this identifies the revision and manufacturer of the flex decoder ic. the following table lists the currently available part id ? s of the flex decoder ic family . part id packet (hex) revision manufacturer 00 01 03 flex alphanumeric decoder i texas instruments 00 01 04 flex alphanumeric decoder i motorola semiconductor products sector 00 01 06 flex alphanumeric decoder i philips 00 01 07 flex alphanumeric decoder ii motorola semiconductor products sector 00 03 03 flex roaming decoder i motorola semiconductor products sector 00 03 05 flex roaming decoder i texas instruments 00 03 09 flex roaming decoder ii motorola semiconductor products sector 00 03 14 flex roaming decoder ii samsung electronics 00 04 01 flex numeric decoder texas instruments
KS8701 appendix a: application notes flex tm roaming decoder ii 55 appendix a : application notes receiver control introduction the KS8701 has 8 programmable receiver control lines ( s0 - s7 ). the host has control of the receiver warm up and shut down timing as well as all of the various settings on the control lines through configuration registers on the KS8701. the configuration registers for most settings allow the host to configure what setting is applied to the control lines. how long to apply the setting, and if the lobat input pin is polled before changing from the setting. with this programmability, the KS8701 should be able to interface with many off-the-shelf receiver ics. when using the internal demodulator (i.e. when the ide bit of the configuration packet is set), the s0 pin becomes the input for the demodulator and the s0 register setting in the receiver control configuration packets controls the tracking mode of the peak and valley detectors for the internal data slicer . when the s0 bit is set in a receiver setting, the internal data slicer will be in fast track mode. when s0 bit is cleared in a receiver setting, the internal data slicer will be in slow track mode. for details on the configuration of the receiver control settings, see ? receiver control configuration packets ? on page 30 . receiver settings at reset the receiver control ports are three-state outputs which are set to the high-impedance state when the KS8701 is reset and until the corresponding frs bit in the receiver line control packet is set or until the KS8701 is turned on by setting the on bit in the control packet. this allows the designer to force the receiver control lines to the receiver off setting with external pull-up or pull-down resistors before the host can configure these settings in the KS8701. when the KS8701 is turned on, the receiver control ports are driven to the settings configured by the ? receiver control configuration packets ? on page 30 until the KS8701 is reset again. automatic receiver warm up sequence the KS8701 allows for up to 6 steps associated with warming up the receiver. when the KS8701 automatically turns on the receiver, it starts the warm up sequence 160ms before it requires valid signals at the exts0 and exts1 input pins. ( or the equivalent internal signals when using the internal demodulator/data slicer). the first step of the warm up sequence involves leaving the receiver control lines in the ? off ? state for the amount of time programmed for ? warm up off time ? . at the end of the ? warm up off time ? , the first warm up setting, if enabled, is applied to the receiver control lines for the amount of time programmed for that setting. each subsequent warm up setting is applied to the receiver control lines for their corresponding time until a disabled warm up setting is found. at the end of the last used warm up setting, the ? 1600sps sync setting ? or the ? 3200sps sync setting ? is applied to the receiver control lines depending on the current state of the KS8701. the sum total of all of the used warm up times and the ? warm up off time ? must not exceed 160ms. if it exceeds 160ms, the KS8701 will execute the receiver shut down sequence at the end of the 160ms warm up period. the receiver warm up sequence while decoding when all warm up settings are enabled is shown in figure 11 on page 5 6 .
appendix a: application notes KS8701 56 flex tm roaming decoder ii figure 11 : automatic receiver warm up sequence host initiated receiver warm up sequence the host can cause the KS8701 to warm-up the receiver in three ways: (1) by turning on KS8701 by setting the on bit in the control packet; (2) by requesting a noise detect by setting the snd bit in the roaming control packet; or (3) by requesting an a-word search by setting the sas bit in the roaming control packet. when the KS8701 warms up the receiver in response to a host request, the first warm up setting, if enabled, is applied to the receiver control lines for the amount of time programmed for that setting. each subsequent warm up setting is applied to the receiver control lines for their corresponding time until a disabled warm up setting is found. once a disabled warm up setting is found, the ? 3200sps sync setting ? (for on and snd warm ups) or the ? 1600sps sync setting ? (for sas warm ups) is applied to the receiver control lines and the decoder does not expect valid signal until after the ? 3200sps sync warm up time ? (for on , snd , and sas warm ups) has expired. in figure 1 2 on page 5 6 the receiver warm up sequence when the host initiates a warm-up sequence and when all warm up settings are enabled is shown. figure 1 2 : host initiated receiver warm up sequence warm up off time warm up time 2 warm up time 3 warm up time 1 warm up time 4 warm up time 5 warm up setting 5 warm up setting 4 warm up setting 3 warm up setting 2 warm up setting 1 off possible lobat check possible lobat check possible lobat check possible lobat check possible lobat check possible lobat check 160ms exts1 & exts0 signals are expected to be valid here. 1600sps or 3200sps sync setting receiver control line setting possible lobat check possible lobat check possible lobat check possible lobat check possible lobat check possible lobat check exts1 & exts0 signals are expected to be valid here. 3200sps sync setting receiver control line setting warm up time 5 warm up time 4 warm up time 3 warm up time 2 warm up time 1 warm up setting 5 warm up setting 4 warm up setting 3 warm up setting 2 warm up setting 1 off 3200sps sync warm up time
KS8701 appendix a: application notes flex tm roaming decoder ii 57 receiver shut down sequence the KS8701 allows for up to 3 steps associated with shutting down the receiver. when the KS8701 decides to turn off the receiver, the first shut down setting, if enabled, is applied to the receiver control lines for the corresponding shut down time. at the end of the last used shut down time, the ? off ? setting is applied to the receiver control lines. if the first shut down setting is not enabled, the KS8701 will transition directly from the current on setting to the ? off ? setting. the receiver turn off sequence when all shut down settings are enabled is shown in figure 1 3 on page 5 7 if the receiver is on or being warmed up when the decoder is turned off (by clearing the on bit in the control packet), the KS8701 will execute the receiver shutdown sequence. if the KS8701 is executing the shut down sequence when the KS8701 is turned on (by setting the on bit in the control packet), the KS8701 will complete the shut down sequence before starting the warm up sequence. figure 1 3 : receiver shut down sequence off shut down setting 2 shut down setting 1 1600sps or 3200sps sync or data setting receiver control line setting shut down time 2 shut down time 1 possible lobat check possible lobat check possible lobat check
appendix a: application notes KS8701 58 flex tm roaming decoder ii miscellaneous receiver states in addition to the warm up and shut down states, the KS8701 has four other receiver states. when these settings are applied to the receiver control lines, the KS8701 will be decoding the exts1 and exts0 input signals. the timing of these signals and their duration depends on the data the KS8701 decodes. the four settings are as follows: 1600sps sync setting: this setting is applied when the KS8701 is searching for a 1600 symbols per second signal. 3200sps sync setting: this setting is applied when the KS8701 is searching for a 3200 symbols per second signal. 1600sps data setting: this setting is applied after the KS8701 has found the c or c sync word in a 1600 symbols per second frame. 3200sps data setting: this setting is applied after the KS8701 has found the c or c sync word in a 3200 symbols per second frame. some examples of how these settings will be used in the KS8701 are shown in figure 1 4 on page 5 8 . figure 1 4 : examples of receiver control transitions low battery detection the KS8701 can be configured to poll the lobat input pin at the end of every receiver control setting. this check can be enabled or disabled for each receiver control setting. if the poll is enabled for a setting, the pin will be read just before the KS8701 changes the receiver control lines from that setting to another setting. the KS8701 will send a status packet whenever the value on two consecutive reads of the lobat pin yields different results. block 0 sync 2 sync 1 frame info block 10 1600sps sync setting 3200sps data setting 3200sps sync setting 1600sps data or 3200sps data or last used warm up setting possible lobat check possible lobat check possible lobat check possible lobat check possible lobat check 1600sps sync setting 1600sps data setting 1600sps data or 3200sps data or last used warm up setting flex signal receiver control line setting example #1 receiver control line setting example #2
KS8701 appendix a: application notes flex tm roaming decoder ii 59 message building a simple message consists of an address packet followed by a vector packet indicating the word numbers of associated message packets. the tables below show a more complex example of receiving three messages and two block information word packets in the first two blocks of a 2 phase 3200 bps, flex frame. note that the messages shown may be portions of fragmented or group messages. note further that in the case of a 6400 bps flex signal, there would be four phases: a, b, c and d, and in the case of a 1600 bps signal there would be only a single phase a. table 30 on page 5 9 shows the block number, word number (wn) and word content of both phases a and c. note contents of words not meant to be received by the host are left blank. each phase begins with a block information word (wn 0) , this is not sent to the host. the first message is in phase a and has an address (wn 3), vector (wn 7) and three message words (wn 9- 11). the second message is also in phase a and has an address (wn 4), a vector (wn 8) and four message words (wn 12 - 15). the third message is in phase c and has a 2 word long address (wn 5 - 6) followed by a vector (wn 10) and three message words. since the third message is sent on a long address, the first message word (wn 11) begins immediately after the vector. the vector indicates the location of the second and third message words (wn 14 - 15). table 30: flex signal block word number phase a phase c 0 biw 1 biw 1 1 biw 3 address 1 biw 4 address 2 5 long address 3 word 1 6 long address 3 word 2 0 7 vector 1 8 vector 2 9 message 1,1 10 message 1,2 vector 3 11 message 1,3 message 3,1 12 message 2,1 13 message 2,2 14 message 2,3 message 3,2 1 15 message 2,4 message 3,3
appendix a: application notes KS8701 60 flex tm roaming decoder ii table 31 on page 60 shows the sequence of packets received by the host. the KS8701 processes the flex signal one block at a time, and one phase at a time. thus, the address and vector information in block 0 phase a is sent to the host in packets 1 - 3. then information in block 0 phase c, two block information words and one long address, is sent to the host in packets 4-6. packets 7 - 18 correspond to information in block 1, processed in phase a first and phase c second. table 31: flex decoder packet sequence packet packet type phase word number comment 1st address a n.a. (7) address 1 has a vector located at wn 7 2nd address a n.a. (8) address 2 has a vector located at wn 8 3rd vector a 7 vector for address 1: message words located at wn =9 to 11, phase a 4th biw c n.a. if biws enabled, then biw packet sent 5th biw c n.a. if biws enabled, then biw packet sent 6th long address c n.a. (10) long address 3 has a vector beginning in word 10 of phase c 7th vector a 8 vector for address 2: message words located at wn = 12 to 15, phase a 8th message a 9 message information for address 1 9th message a 10 message information for address 1 10th message a 11 message information for address 1 11th message a 12 message information for address 2 12th message a 13 message information for address 2 13th message a 14 message information for address 2 14th message a 15 message information for address 2 15th vector c 10 vector for long address 3: message words located at wn = 14 - 15, phase c 16th message c 11 second word of long vector is first message information word of address 3 17th message c 14 message information for address 3 18th message c 15 message information for address 3 the first message is built by relating packets 1, 3, and 8 - 10. the second message is built by relating packets 2, 7 and 11 - 14. the third message is built by relating packets 6 and 15 - 18. additionally, the host may process block information in packets 4 and 5 for time setting information.
KS8701 appendix a: application notes flex tm roaming decoder ii 61 building a fragmented message the longest message which will fit into a frame is 84 code words total of message data. three alpha characters per word yields a maximum message of 252 characters in a frame assuming no other traffic. messages longer than this value must be sent as several fragments. additional fragments can be expected when the ? continue bit ? in the 1 st message word is set. this causes the pager to examine every following frame for an additional fragment until the last fragment with the continue bit reset is found. the only requirement relating to the placement in time of the remaining fragments is that no more than 32 frames (1 minute) or 128 frames (4 minutes) as indicated by the service provider may pass between fragment receptions. each fragment contains a check sum character to detect errors in the fragment, a fragment number 0, 1, or 2 to detect missing fragments, a message number to identify which message the fragment is a part, and the continue bit which either indicates that more fragments are in queue or that the last fragment has been received. the following describes the sequence of events between the host and the KS8701 required to handle a fragmented message: l the host will receive a vector indicating one of the following types: v 2 v 1 v 0 type 000 secure 101 alphanumeric 110 hex / binary l the KS8701 will increment the all frame mode counter inside the KS8701 and begin to decode all of the following frames. l the host will receive the message packet(s) contained within that frame followed by a status packet. the host must decide based on the message packet to return to normal decoding operation. if the message is indicated as fragmented by the message continued flag ? c ? being set in the message packet then the host does not decrement the all frame mode counter at this time. the host decrements the counter if the message continued flag ? c ? is clear by writing the all frame mode packet to the KS8701 with the ? daf ? bit = 1. if no other fragments, temporary addresses are pending and the faf bit is clear in the all frame mode register, then the KS8701 returns to normal operation. l the KS8701 continues to decode all of the frames and passes any address information, vector information and message information to the host followed by a status packet indicating the end of the frame. if the message is indicated as fragmented by the message continued flag ? c ? in the message packet then the host remains in the receive mode expecting more information from the KS8701. l after the host receives the second and subsequent fragment with the message continued flag ? c ? = 1, it should decrement the all frame mode counter by sending an all frame mode packet to the KS8701 with the ? daf ? bit = 1. alternatively, the host may choose to decrement the counter at the end of the entire message by decrementing the counter once for each fragment received.
appendix a: application notes KS8701 62 flex tm roaming decoder ii l when the host receives a message packet with the message continued flag ? c ? = 0, it will send two all frame mode packets to the KS8701 with the ? daf ? bit = 1. the two packets decrement the count for the first fragment and the last fragment. this decrements the all frame counter to zero, if no other fragmented messages, temporary addresses are pending and the faf bit is clear in the all frame mode register, the KS8701 returns to normal operation. l the above process must be repeated for each occurrence of a fragmented message. the host must keep track of the number of fragmented messages being decoded and insure the all frame mode counter decrements after each fragment or after each fragmented message. table 32: alphanumeric message without fragmentation packet packet type phase all frame counter comment 1st address 1 a 0 address 1 is received 2nd vector 1 a 1 vector = alphanumeric type 3rd message a 1 message word received ? c ? bit = 0, no more fragments are expected. 4th variable a 0 host writes all frame mode packet to the KS8701 with the ? daf ? bit = 1 a. host initiated packet. the KS8701 returns a packet according to ? decoder-to-host packet descriptions ? on page 3 8 . table 33: alphanumeric message with fragmentation packet packet type phase all frame counter comment 1st address 1 a 0 address 1 is received 2nd vector 1 a 1 vector = alphanumeric type 3rd message a 1 message word received ? c ? bit = 1, message is fragmented, more expected 4th status 1 end of frame indication ( eof = 1) 5th address 1 b 1 address 1 is received 6th vector 1 b 2 vector = alphanumeric type 7th message b 2 message word received ? c ? bit = 1, message is fragmented, more expected. 8th variable a 1 host writes all frame mode packet to the KS8701 with the ? daf ? bit = 1 9th status 1 end of frame indication ( eof = 1 )
KS8701 appendix a: application notes flex tm roaming decoder ii 63 table 33: alphanumeric message with fragmentation (continued) packet packet type phase all frame counter comment 10th address 1 a 1 address 1 is received 11th vector 1 a 2 vector = alphanumeric type 12th message a 2 message word received ? c ? bit = 0, no more fragments are expected. 13th variable a 1 host writes all frame mode packet to the KS8701 with the ? daf ? bit = 1 14th variable a 0 host writes all frame mode packet to the KS8701 with the ? daf ? bit = 1 a. host initiated packet. the KS8701 returns a packet according to ? decoder-to host packet descriptions ? on page 3 8 .
appendix a: application notes KS8701 64 flex tm roaming decoder ii operation of a temporary address group messaging the flex protocol allows for a dynamic group call for the purpose of sending a common message to a group of paging devices. the dynamic group call approach assigns a ? temporary address ? using the personal address and the short instruction vector. the flex protocol specifies sixteen addresses for the dynamic group call which may be temporarily activated in a future frame (if the frame or one of the frame s designated is equal to the present frame the host is to interpret this as the next occurrence of this frame 4 minutes in the future.) the temporary address is valid for one message starting in the specified frame(s) and remaining valid throughout the following frames to the completion of the message. if the message is not found in the specified frame(s) the host must disable the assigned temporary address. the following describes the sequence of events between the host and the KS8701 required to handle a temporary address: l following an address packet, the host will receive a vector packet with v 2 v 1 v 0 = 001 and i 2 i 1 i 0 = 000 or 010 (a short instruction vector indicating a temporary address has been assigned to this pager). the system may send either i 2 i 1 i 0 = 000 or i 2 i 1 i 0 = 010 or both when assigning a temporary address. the vector packet with i 2 i 1 i 0 = 000 will indicate which temporary address is assigned and the frame in which the temporary address is expected. the vector packet with i 2 i 1 i 0 =010 will indicate which temporary address is assigned, the msb of the expected frame (essentially indicating 64 frames in which to look for the temporary address), and a message sequence number. when the vector packet with i 2 i 1 i 0 = 010 is received on a long address, the specific assign frame is included in the message word sent after the vector l the KS8701 will increment the corresponding temporary address counter for each temporary address assignment vector received and begin to decode all of the following frames. note that this implies a single dynamic group assignment that is implemented by sending two short instructions ( one for each temporary address assignment mode of the short instruction vector) will cause the corresponding temporary address counter to increment twice. l the KS8701 continues to decode all of the frames and passes any address information, vector information and message information to the host followed by a status packet indicating the end of each frame and the current frame number. l there are several scenarios which may occur with temporary addresses 1. the temporary address is not found in the any of the assigned frames and therefore the host must terminate the temporary address mode by sending an all frame mode packet to the KS8701 with the ? dta ? bit of the particular temporary address set. (if both temporary address assignment packets were used to assign the temporary address, the ? dta ? bit must be set twice to disable the temporary address) 2. the temporary address is found in the frame it was assigned and was not a fragmented message. again, the host must terminate the temporary address mode by sending an all frame mode packet to the KS8701 with the ? dta ? bit of the particular temporary address set.(if both temporary address assignment packets were used to assign the temporary address, the ? dta ? bit must be set twice to disable the temporary address)
KS8701 appendix a: application notes flex tm roaming decoder ii 65 3. the temporary address is found in the assigned frame and it is a fragmented message. in this case, the host must follow the rules for operation of a fragmented message and determine the proper time to stop the all frame mode operation. in this case, the host must write to the ? daf ? bit with a ? 1 ? and the appropriate ? dta ? bit with a ? 1 ? in the all frame mode register in order to terminate both the fragmented message and the temporary address. (if both temporary address assignment packets were used to assign the temporary address, the ? dta ? bit must be set twice to disable the temporary address) l the above operation is repeated for every temporary address.
appendix a: application notes KS8701 66 flex tm roaming decoder ii using the receiver shutdown packet calculating time left the receiver shutdown packet gives timing information to the host. two times are of particular interest when implementing a roaming algorithm. l time to warm up start. defined as the amount of time there is before the receiver will start to warm up (i.e. transition from the off state to the first warm up state). l time to tasks disabled. defined as the amount of time the host has to complete any host initiated tasks (e.g. by setting snd or sas in the roaming control packet). the formula ? s for calculating these times depend on whether the KS8701 is in synchronous mode or asynchronous mode. synchronous mode: time to warm up start ( tnf ? 80ms) + ( skipped frames ? 1874.375ms) + receiver off time - 167.5ms time to tasks disabled (tnf ? 80ms) + (skipped frames ? 1874.375ms) - 247. 5ms asynchronous mode: time to warm up start (( tnf - 2) ? 80ms) + receiver off time time to tasks disabled (( tnf - 3) ? 80ms) where, tnf : time to next frame. value from the receiver shutdown packet. skipped frames : the number of frames that won ? t be decoded. this can be calculated from the current frame ( cf ) and next needed frame ( naf ) fields in the receiver shutdown packet (e.g. if cf is 10 and naf is 12, then skipped frames is 1) receiver off time : the time programmed in the receiver off setting packet.
KS8701 appendix a: application notes flex tm roaming decoder ii 67 calculating how long tasks take since the time to task disabled discussed in the previous section limits how much the host can do while the KS8701 is battery saving, it is necessary for the host to know how long it can take the KS8701 to perform a task. the formulas below calculate how long the two types of host initiated tasks take to complete as measured from the last spi clock of the packet that initiates the task to the time the receiver shutdown sequence starts. note that the receiver shutdown sequence must start before tasks are disabled. the following formula calculates how long it will take to complete a noise detect started by setting the snd bit in the roaming control packet. this formula assumes that (1) the noise detect was performed while in synchronous mode or (2) the noise detect was performed in asynchronous mode and did not find flex signal or (3) the noise detect found flex signal but the das bit of the roaming control packet was set. time to perform noise detect 2 total warm up time + 82ms where, total warm up time : the sum of the times programmed for the used warm up steps plus the time programmed for the 3200sps sync setting in the receiver control configuration packets. the following formula calculates how long it will take to complete an a-word search initiated by setting the sas bit in the roaming control packet. this formula assumes that the a-word search failed to find roaming flex channel. time to perform a word search 2 total warm up time + ast + 47ms where, total warm up time : the sum of the times programmed for the used warm up steps plus the time programmed for the 3200sps sync setting in the receiver control configuration packets. ast : the value configured using the timing control packet. the following formula calculates how long it will take to complete a noise detect/a-word search combination. this can occur when the noise detect is performed while in asynchronous mode, the noise detect finds flex signal, and the das bit of the roaming control packet is not set. time to perform both 2 total warm up time + ast + 127ms where, total warm up time : the sum of the times programmed for the used warm up steps plus the time programmed for the 3200sps sync setting in the receiver control configuration packets. ast : the value configured using the timing control packet.
appendix b: specifications KS8701 68 flex tm roaming decoder ii appendix b: specifications absolute maximum ratings table 34: absolute maximum ratings characteristic symbol min max unit dc supply voltage v dd -0.3 3.8 v dc input voltage v in -0.3 v dd + 0.3 v dc input current i in -10 +10 ma storage temperature t stg -40 +125 ? operating temperature t a -25 +85 ? . absolute maximum ratings may cause critical device failure by above table beyond limits. . all electrical characteristics are applied in digital cell library without analog core. dc characteristics table 3 5 : dc characteristics characteristic condition symbol min typ max unit supply voltage v dd 1.8 3.0 3.6 v high level input voltage v ih 0.8v dd v low level input voltage v il 0.2v dd v high level input current i ih -1 1 m a low level input current i il -1 1 m a high level output voltage i oh =-1ma v oh v dd -0.4 v low level output voltage i ol =1ma v ol 0.4 v tri-state output leakage current i oz -5 5 m a standby supply current a @3v, 76.8khz, 25? i dd 18 m a input capacitance b c in 4 pf output capacitance b c out 4 pf a. this value depends on the customer application . b. this value excludes package parasitic capacitances .
KS8701 appendix b: specifications flex tm roaming decoder ii 69 ac characteristics spi timing the following diagram and table describe the timing specifications of the spi interface. figure 1 5 : spi timing t ac t lag2 t rh t su d0 miso hi-z hi-z mosi d0 d31 d31 sck t ssh t lag1 t f t rdy t lead1 t sckh t cyc t sckl t r t lead2 t ho t dis t v t hi ss ready
appendix b: specifications KS8701 70 flex tm roaming decoder ii table 3 6 : spi timing (v dd = 1.8v to 3. 6 v, t a = -25? to +85? ) characteristic conditions symbol min max unit operating frequency f op 0 1 mhz cycle time t cyc 1000 n s select lead time t lead1 200 n s de-select lag time t lag1 200 n s select-to-ready time previous packet did not program an address word a c l =50pf t rdy 80 m s select-to-ready time previous packet programmed an address word a c l =50pf t rdy 420 m s ready high time t rh 50 m s ready lead time t lead2 200 n s not ready lag time c l =50pf t lag2 200 n s mosi data setup time t su 200 n s mosi data hold time t hi 200 ns miso access time c l =50pf t ac 0 200 n s miso disable time t dis 300 ns miso data valid time c l =50pf t v 200 ns miso data hold time t ho 0 ns ss high time t ssh 200 ns sck high time t sckh 300 ns sck low time t sckl 300 ns sck rise time 20% to 70% v dd t r 1 m s sck fall time 20% to 70% v dd t f 1 m s a. when the host re-programs an address word with a host-to-flex decoder packet id > 127 (decimal ), there may be an added delay before the KS8701 is ready for another packet.
KS8701 appendix b: specifications flex tm roaming decoder ii 71 start-up timing the following diagram and table describe the timing specifications of the KS8701 when power is applied. figure 1 6 : start-up timing table 3 7 : start-up timing (v dd = 1.8v to 3.6v, t a = -25? to +85? ) characteristic conditions symbol min typ max unit oscillator start-up time t start 5 sec reset hold time t reset 200 ns reset high to ready low a t rhrl 1 sec oscillator warmed up to ready low a c l =50pf t ow rl 1 sec a. note that from power-up, the oscillator start-up time can impact the availability and period of clock strobes. this can affect the actual reset high to ready low timing. ..... ..... ..... ..... v dd t start oscillato r t reset t rhrl reset ready t ow rl
appendix b: specifications KS8701 72 flex tm roaming decoder ii reset timing the following diagram and table describe the timing specifications of the KS8701 when it is reset. figure 1 7 : reset timing table 3 8 : reset timing (v dd = 1.8v to 3. 6 v, t a = -25? to 85? ) characteristic conditions symbol min typ max unit reset pulse width t rl 200 - ns reset low to ready high t rlrh - 200 ns reset high to ready low requires stable clock t rhrl 1 sec t rl t rhrl t rlrh reset ready


▲Up To Search▲   

 
Price & Availability of KS8701

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X